package arch.chameleon.busi.sample.model;

import java.io.Serializable;
import javax.persistence.*;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * The persistent class for the sample_cpu_spec database table.
 * 
 */
@Entity
@Table(name="sample_cpu_spec")
public class SampleCpuSpec implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="ID")
	private String id;

	@Column(name="CORE")
	private int core;

	@Column(name="FREQUENCY")
	private String frequency;

    public SampleCpuSpec() {
    }

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getCore() {
		return this.core;
	}

	public void setCore(int core) {
		this.core = core;
	}

	public String getFrequency() {
		return this.frequency;
	}

	public void setFrequency(String frequency) {
		this.frequency = frequency;
	}
	
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}